<template>
	<view class="u-page">
		<tm-menubars title="我的" :showback="false" iconColor="white" ></tm-menubars>

		<view class="u-page__button-item">
			<u-button
				text="退出"
				size="normal"
				type="info"
				@click="click"
			></u-button>
		</view>
		<tm-button  @click="$refs.toast.show({model:'load'})" size='m'>load</tm-button>
		<tm-message ref="toast"></tm-message>

	</view>
</template>

<script>


	import tmButton from "@/tm-vuetify/components/tm-button/tm-button.vue"

	export default {
		components: {
			tmButton
		},
		data() {
			return {
				// type: 'default',
				// disabled: false
			}
		},

		methods: {
			click() {
				uni.removeStorageSync("AccessToken");

				this.$Router.push({
					path:"/pages/login/index"
				});

			}
		},
		created() {},
		onLoad() {

		},
	}
</script>

<style lang="scss">
	.u-page {
		&__button-item {
			margin: 0 15px 15px 0;
		}
	}

</style>
